package com.saile.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Baggio on 2018-4-19.
 */
public abstract  class ModleBase implements Serializable {
    private Long tid;
    private Date createTime;
    private  Integer sort;
    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Date getCreateTime() {
        return createTime==null?new Date():createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getSort() {
        return sort==null?9999:sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
